package company.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

@TableName(value = "donors")
public class Donors {
    /**
     * 捐赠者ID
     */
    @TableId(value = "DonorID", type = IdType.INPUT)
    private Integer donorid;

    /**
     * 名称
     */
    @TableField(value = "`Name`")
    private String name;

    /**
     * 捐赠金额
     */
    @TableField(value = "DonationAmount")
    private BigDecimal donationamount;

    /**
     * 捐赠日期
     */
    @TableField(value = "DonationDate")
    private Date donationdate;

    /**
     * 获取捐赠者ID
     *
     * @return DonorID - 捐赠者ID
     */
    public Integer getDonorid() {
        return donorid;
    }

    /**
     * 设置捐赠者ID
     *
     * @param donorid 捐赠者ID
     */
    public void setDonorid(Integer donorid) {
        this.donorid = donorid;
    }

    /**
     * 获取名称
     *
     * @return Name - 名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置名称
     *
     * @param name 名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取捐赠金额
     *
     * @return DonationAmount - 捐赠金额
     */
    public BigDecimal getDonationamount() {
        return donationamount;
    }

    /**
     * 设置捐赠金额
     *
     * @param donationamount 捐赠金额
     */
    public void setDonationamount(BigDecimal donationamount) {
        this.donationamount = donationamount;
    }

    /**
     * 获取捐赠日期
     *
     * @return DonationDate - 捐赠日期
     */
    public Date getDonationdate() {
        return donationdate;
    }

    /**
     * 设置捐赠日期
     *
     * @param donationdate 捐赠日期
     */
    public void setDonationdate(Date donationdate) {
        this.donationdate = donationdate;
    }
}